docs(ci-cd): document staging mTLS deployments via GitHub Actions#431
Draft
clavery wants to merge 2 commits into
Draft
docs(ci-cd): document staging mTLS deployments via GitHub Actions#431clavery wants to merge 2 commits into
clavery wants to merge 2 commits into
Conversation
Add a Staging Environments section to the CI/CD guide covering the two-factor mTLS pattern (separate webdav hostname + .p12 client cert) in both CLI flag and GitHub Actions form. Extend the setup action with webdav-server, certificate, certificate-passphrase, and selfsigned inputs so workflows can target staging without bespoke env wiring. Cross-link with the existing mTLS section in the configuration guide.
- setup action: only export SFCC_SELFSIGNED when input is "true"/"1". oclif boolean env-mapped flags treat any non-empty value as true, while the SDK env-var source only parses "true"/"1" — exporting arbitrary values produced inconsistent behavior. Now omitting the input (or passing "false") cleanly leaves the flag at its default. - ci-cd.md: correct misleading tip claiming a second setup overwrites env vars; in fact it only overrides env vars for inputs that are actually re-passed (others persist from the prior setup).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docs/guide/ci-cd.mdcovering the staging pattern (separate WebDAV hostname + PKCS12 client certificate + self-signed server certs) in both CLI flag form and GitHub Actions formactions/setupaction with new inputs —webdav-server,certificate,certificate-passphrase,selfsigned— so workflows can wire mTLS throughsetupwithout a custom env-var stepdocs/guide/configuration.mdand the auth table inactions/README.md@salesforce/b2c-dx-docs: patch) since the action change ships via the git ref, not npmTest plan
pnpm run docs:devand verify the new Staging section renders, including the anchor#staging-environments-two-factor-mtls